package cn.circle.system.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

import cn.circle.system.util.GameMusic;



@Controller
@EnableWebMvc
public class MainController {
	
	@RequestMapping(value = "/")
	public String index() {
		//GameMusic.Play("/BackgroundMusic/1.wav");
		System.out.println("ggggggg");
		return "/WEB-INF/pages/login.jsp";
	}
	
	@RequestMapping(value = "/manage")
	public String index1() {
		System.out.println("ggggggg");
		return "/WEB-INF/pages/login.jsp";
	}
	@RequestMapping(value = "/model")
	public String index2() {
	
		return "/WEB-INF/pages/mobie/model.jsp";
	}
	
	@RequestMapping(value = "/manage/main")
	public String managePage() {
		return "/WEB-INF/pages/main.jsp";
	}
}
